package ExtendsDemo;

public class PeopleTest {
    public static void main(String[] args) {
        Student student = new Student("张三",18);
        Teacher teacher = new Teacher("李四",25);
        student.eat();
        student.study();
        teacher.takingClass();
    }
}
